package com.gluck.cases.boostrap;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @ClassName UserApplication
 * @Desc 用户中心启动类
 * @Author I am Gluck
 * @Date 2022/5/11 - 8:38 下午
 **/
@MapperScan({"com.gluck.cases.common.utils.dal.dao"})
@ImportResource(locations = {"classpath:boostrap-interceptor.xml","classpath:block-interceptor.xml"})
@SpringBootApplication(scanBasePackages = {"com.gluck.cases"})
@Configuration
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
